package pattern19.barbecue;

/**
 * 烤羊肉串的命令
 * @author wdl
 */
public class BakeMuttonCommand extends BaseCommand {
    /**
     * 抽象命令类需要知道命令的接收者
     *
     * @param receiver 命令的接收者
     */
    public BakeMuttonCommand(Barbecuer receiver) {
        super(receiver);
    }

    @Override
    public void executeCommand() {
        receiver.bakeMutton();
    }
}
